@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app{
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  outline: none;
  text-decoration: none;
}

div:focus{
  outline: none;
 }

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

.el-header{
  background-color: #00cea5;
  color: #fff;
  line-height: 70px;
  .logo{
    float: left;
    margin-left: 20px;
    padding-top: 20px;
    img{
      height: 100%;
      display:block;
    }
  }

  .userinfo{
    float: right;
    margin-right: 20px;
    .avatar-wrapper{
      color: #fff ;
      cursor: pointer;
      margin-top: 5px;
      position: relative;
      line-height: 65px;
    }
    .el-icon-caret-bottom {
      position: absolute;
      right: -5px;
      top: 25px;
      font-size: 12px;
    }
    span {
        &:first-of-type {
          margin-right:15px;
          padding-left: 8px;
        }
        &:last-of-type {
          cursor: pointer;
          margin-left:15px;
        }
      }
    }
}

//main-container全局样式
.app-main{
  min-height: 100%
}

.app-container {
  padding: 10px;
  .row {
    padding: 16px;
    margin-bottom: 20px;
  }
}
.avatar-dropdown{
  position: absolute;
  top: 44px!important;
}
.pagination-container {
  margin-top: 20px;
}
.row-bottom{
  margin-bottom: 20px;
}
.bg-white {
  background: #fff;
}

.chart-filter{
  margin: 10px 0 20px;
  label{
    color: #707070;
    font-weight: normal;
    margin-left: 15px;
  }
}
.btn-query{
  background: url("../../static/images/btn.png") repeat;
  height: 30px;
  width: 74px;
  border: none;
  color:#707070;
  margin-left: 10px;
}
.btn-query:hover{
  background: url("../../static/images/btn.png") repeat;
  height: 30px;
  width: 74px;
  border: none;
  color:#707070;
}

.btn-add{
  background: url("../../static/images/btn-add.png") repeat;
  height: 30px;
  width: 90px;
  border: none;
  color:#707070;
  margin-left: 10px;
}
.btn-add:hover{
  background: url("../../static/images/btn-add.png") repeat;
  height: 30px;
  width: 90px;
  border: none;
  color:#707070;
}
